package com.youdianda.vo;


import com.youdianda.dto.User;
import com.youdianda.entity.YddArticle;
import com.youdianda.entity.YddCate;
import com.youdianda.entity.YddUser;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/***
 * 主页统计信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BaseInfoVO implements Serializable {
    private List<YddCate> allCate;//所有分类数据
    private Integer advposNum;//广告总位数
    private Integer tagNum;//标签总数
    private Integer adminNum;//管理员总数
    private Integer articleNum;//文章总数
    private Integer cateNum;//分类总数
    private Integer advimgNum;//广告图总数
    private List<YddUser> newUser;//最新用户数据
    private List<YddArticle> hotArticle;//热门文章数据
    private User user;//用户数据
}
